# Contributor: Rejah Rehim <rejah@beaglesecurity.com>
# Maintainer: Rejah Rehim <rejah@beaglesecurity.com>
pkgname=py3-preggy
_pkgname=preggy
pkgver=1.4.4
pkgrel=3
pkgdesc="assertion library for Python"
options="!check" # no test suite
url="http://heynemann.github.io/preggy"
arch="noarch"
license="MIT"
depends="python3 py3-six py3-unidecode"
makedepends="py3-setuptools"
subpackages="$pkgname-doc $pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
	install -Dm644 README.md "$pkgdir"/usr/share/licenses/$pkgname/README.md
}

sha512sums="
6eb6073eb28ba8684f2795c1d9aa93c2a24e50063359a769f7f7d84da2928e25a0ca86d4ac268dce0c2462bbe1a73e76f496325b6175a1218025e15fb7ce4f4c  preggy-1.4.4.tar.gz
"
